home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / os2 / pc2_140.zip / PC2.FAQ < prev    next >
Text File  |  1993-04-14  |  10KB  |  193 lines

  1. ******************************************************************************
  2.                             Frequently asked questions
  3.  
  4.                    PC/2 - Programm Commander/2 Version 1.40 for
  5.                          IBM OS/2 2.x Presentation Manager
  6.                       Copyright (C) by Stangl Roman 04, 1993
  7.  
  8.                                Version 1.40 Draft
  9. ******************************************************************************
  10.  
  11.  1.) How can I configure PC/2 to popup the menu after a single-click instead
  12.      of the default double-click with mouse button 1 on the desktop?
  13.  
  14.      By adding the commandline option -SingleClick or /SingleClick to
  15.      parameters field in the setting of the PC/2 object. If you run PC/2
  16.      as a WPS replacement, you can't use any commandline option, because
  17.      OS/2 seems to dislike commandline options on programs run as the WPS.
  18.  
  19.  2.) PC/2 assumes that OS/2 is installed on drive C:, but I use drive H:!
  20.  
  21.      Either start with a blank menu and add your programs, or use an editor
  22.      f.e. EPM.EXE to replace all C: to H: in the profile.
  23.  
  24.  3.) How do I add DOS Settings correctly?
  25.  
  26.      First you should use the same spelling as in the settings of a DOS
  27.      program. They have usually ON/OFF or numbers as possible selections.
  28.      For ON/OFF you add =1 or =0 to the setting, f.e. HW_TIMER=1. For
  29.      numbers add =xxxx, f.e. EMS_MEMORY_LIMIT=1024.
  30.  
  31.  4.) How can I add batch files?
  32.  
  33.      Batch files aren't executable files, they need a command processor to
  34.      interprete them. Therefore you have to select a command processor and
  35.      add /C filename.bat or /C filename.cmd to the parameters entryfield.
  36.      You may whish to look at the command reference of CMD.EXE and COMMAND.COM
  37.      for more details. If you use the standard file dialog to find the batch
  38.      file you want to add, PC/2 automatically add this batch file as an
  39.      argument of an command processor.
  40.  
  41.  5.) Is HPFS supported?
  42.  
  43.      Yes, PC/2 fully supports HPFS. However, if a filename contains spaces
  44.      you have to place it in double-quotes, f.e. at a command prompt you
  45.      whould type DIR "D:\OS!2 2.0 Desktop\*" /s to list all files of the
  46.      Desktop directory. The same is true for PC/2, f.e. you want to start
  47.      a batchfile that conforms HPFS-filename convention, you may create
  48.      an entry:
  49.         Program Title:      HPFS-Test
  50.         Path and Filename:  C:\OS!2 2.0 Desktop\Prompts\Command Processor.exe
  51.         Working Directory:  C:\OS!2 User Applications
  52.         Parameters:         /C ""C:\OS!2 2.0 Desktop\Run Me.cmd""
  53.      Note: Passing HPFS-filenames to command processors may required two
  54.      double-quotes (f.e. CMD.EXE does). Also take a look at the help pages
  55.      for CMD.EXE to get more details.
  56.  
  57.  6.) How do I start a full-screen WIN-OS2 session?
  58.  
  59.      Create an entry that of a full-screen DOS command prompt that starts
  60.      WINOS2.COM (f.e. C:\OS2\MDOS\WINOS2\WINOS2.COM). Then add the required
  61.      DOS Settings (f.e. the following settings greatly improve performance
  62.      on a 8514/A adapter: VIDEO_8514_XGA_IOTRAP=0, VIDEO_RETRACE_EMULATION=0,
  63.      VIDEO_SWITCH_NOTIFICATION=1, XMS=64, EMS=0, DPMI=4, IDLE_SECONDS=2,
  64.      IDLE_SENSITIVITY=100, HW_ROM_TO_RAM=1. Thanks to Timothy Sipples for
  65.      them!).
  66.  
  67.  7.) How do I start a windowed WIN-OS2 session?
  68.  
  69.      Sorry, I don't know it myself. For a WIN-OS2 session you can usually
  70.      specifying in the settings: WIN-OS2 full screen, WIN-OS2 window and
  71.      seperate session. If someone knows which OS/2 APIs are used to start
  72.      sessions with these settings, please mail me!
  73.      You can use MAKEOBJ.CMD to create a WPS Object with a known Object ID.
  74.      Such an object can then be started with PC/2, so if you want to start
  75.      a seamless WIN-OS2 session first create an object that corresponds to
  76.      a seamless WIN-OS2 session and then use the defined object ID as the
  77.      filename of that object to start is via PC/2.
  78.  
  79.  8.) How do I start a VDM from an image?
  80.  
  81.      First create the image, then create an entry of a full-screen or windowed
  82.      DOS session. Then add to the DOS settings:
  83.         DOS_STARTUP_DRIVE=[path]DISK.IMG
  84.      where [path]DISK.IMG is the path and filename of the image you wand to
  85.      start. Caution! On my system (2.0 GA) it doesn't work, I don't know why.
  86.  
  87.  9.) How do I start a VDM that boots from drive A:?
  88.  
  89.      Same a item 8.) says, only adjust the DOS settings to:
  90.         DOS_STARTUP_DRIVE=A:
  91.      Caution! On my system (2.0 GA) the system traps, I don't know why.
  92.  
  93. 10.) Why has PC/2 an option to shut down OS/2?
  94.  
  95.      Some people use PC/2 as a replacement for the WPS (that sames memory)
  96.      and they can't click with button 2 to get the popup menu, from where
  97.      shutdown can be selected.
  98.      PC/2 requests OS/2 to clear all filebuffers. After all disk activity
  99.      has been stopped it is safe to power off your system. PC/2 don't closes
  100.      the programs, but after the disk activity has stopped, all processes are
  101.      frozen (you can switch to or select programs anymore).
  102.  
  103. 11.) How do I add commandline parameters a run-time?
  104.  
  105.      F.e. assume you created an Menuentry that start the editor EPM.EXE.
  106.      After you selected EPM, just before it is started, you can request
  107.      a dialog box from PC/2, where you can enter any commandline parameter
  108.      by adding a [...] construct in the parameters entryfield of the Program
  109.      Installation dialog. This work similar to the same WPS feature.
  110.  
  111. 12.) How do I install PC/2 as a replacement of the WPS?
  112.  
  113.      First, install PC/2 in the normal way. Second, edit your CONFIG.SYS to
  114.      replace the statement (you may have to use another drive name instead
  115.      of C:):
  116.         SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  117.      by
  118.         REM * SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  119.         SET RUNWORKPLACE=h:\path\PC2.EXE
  120.      where h:\path is the path where you installed PC/2 into, f.e.
  121.      C:\PMAPPS\PC2.
  122.      The next time you boot, the WPS will not be loaded (you can verify this
  123.      by a blank screen displayed instead of the normal Desktop with objects.
  124.      Not using the WPS saves memory and reduces boot time lightly.
  125.      Of course you may start the WPS later, either by starting PMSHELL.EXE
  126.      from a command prompt or from an PMSHELL Menuitem of PC/2. You can
  127.      follow the WPS initialization by heavy disk access and buildup of your
  128.      Desktop with objects.
  129.      PC/2 requires to know the Desktop (in technical terms the window handle
  130.      of the Desktop) to be able to catch mouse button 1 clicks. If you start
  131.      the WPS the Desktop changes too. Therefor you must restart PC/2 by
  132.      selecting PC/2 and close it from the task list. PC/2 will automatically
  133.      restarted by OS/2 (because it is the WORKPLACE that runs) and then
  134.      work as before.
  135.  
  136. 13.) How do I add WPS Objects to start then via PC/2?
  137.  
  138.      The important thing is, that you have to know the WPS Object ID
  139.      (Identifier) to be able to add them to PC/2. For preinstalled Objects,
  140.      you can find the ID in the file C:\OS2\OS2_20.RC (sorry I don't know
  141.      any other method to get them). For user-installed Objects, you have
  142.      to use MAKEOBJ.CMD, a small REXX-utility supplied with PC/2, to create
  143.      an Object with a known ID. You can't use Objects created by the
  144.      Program Template, because I don't know how to get the ID of such
  145.      Objects, if you know how to get the ID of such Objects, p l e a s e
  146.      mail me.
  147.      The ID of Objects, created as outlined above, may than be added in the
  148.      entryfield Path and Filename in the Program Installation dialog, with
  149.      the Program Type WPS Object.
  150.      If such an Object is a seamless WIN-OS2 session, PC/2 can also start
  151.      such a seamless WIN-OS2 session - but remember, without an Object
  152.      created with a known ID no seamless WIN-OS2 support with PC/2!
  153.  
  154. 14.) How do I use Drag & Drop?
  155.  
  156.      Additional to the standard file dialog, you may use Drag & Drop to add
  157.      applications in the Program Installation dialog. F.e. you may use a drive
  158.      object, select one (1 !) application drag it into the dialog and drop it
  159.      onto any area that accepts it (any area that isn't coverd by text,
  160.      buttons, entryfields,...).
  161.      PC/2 will try to determine the type of the application you added
  162.      automatically, but you may overwrite it.
  163.  
  164. 15.} How can I add WPS Objects?
  165.  
  166.      If you drag WPS Objects onto the dialog, you must ensure, that the entry-
  167.      field Path and Filename contains the correct Object ID, and the Program
  168.      Type is WPS Object.
  169.      For preinstalled Objects, you may need to look into OS2_20.RC to the the
  170.      Object ID, f.e. <WP_DRIVES> or <WP_INST>.
  171.      For user-installed Objects, use MAKEOBJ.CMD to create an Object with a
  172.      known Object ID, f.e. <WP_WIN_PBRUSH> or <WP_WIN_WORD4WIN>.
  173.      Then select the Object, and drag a copy over the Program Installation
  174.      dialog and drop it on an area that accepts it.
  175.      For preinstalled Object you have to verify that the entryfield Path and
  176.      Filename contains the Object ID of this object.
  177.      For user-installed Object (with MAKEOBJ.CMD) the entryfield Path and
  178.      Filename should contain the Object ID, as long as you didn't rename the
  179.      created Object.
  180.  
  181. 16.) Does PC/2 change to the root of all drives except for the working dir?
  182.  
  183.      Yes, PC/2 changes to the root of all non-removable drives before the
  184.      selected application is started.
  185.  
  186. 17.) Which versions of OS/2 are supported?
  187.  
  188.      PC/2 was developed under OS/2 2.0 GA, but I know it work on the December
  189.      2.1 beta and people reported it to work under the March 2.1 beta too.
  190.  
  191. Please read also the help panels and enjoy! Roman Stangl
  192.  
  193.